import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/views/HelloWorld'
import echarts from '@/views/echarts'
import echarts1 from '@/views/echarts1'
import echarts2 from '@/views/echarts2'
import echarts3 from '@/views/echarts3'
import canvas from '@/views/canvas'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/echarts',
      name: 'echarts',
      component: echarts
    },
    {
      path: '/echarts1',
      name: 'echarts1',
      component: echarts1
    },
    {
      path: '/echarts2',
      name: 'echarts2',
      component: echarts2
    },
    {
      path: '/echarts3',
      name: 'echarts3',
      component: echarts3
    },
    {
      path: '/canvas',
      name: 'canvas',
      component: canvas
    }
  ]
})
